<include file="Public/head" />

<body class="no-skin">
    <include file="Public/header" />
    <div class="main-container" id="main-container">
        <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {}
        </script>
        <include file="Public/sidebar" />
        <div class="main-content">
            <div class="main-content-inner">
                <!-- #section:basics/content.breadcrumbs -->
                <include file="Public/breadcrumbs" />
                <!-- /section:basics/content.breadcrumbs -->
                <div class="page-content">
                    <include file="Public/set" />
                    <!-- /section:settings.box -->
                    <div class="row">
                        <div class="col-xs-12">
                            <!-- PAGE CONTENT BEGINS -->
                            <form class="form-horizontal" action="{:U('savescore')}" method="post">
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 用户名 </label>
                                    <div class="col-sm-9">
                                        <input type="text" readonly class="rcol-xs-10 col-sm-5" value="{$info.name}">
                                        <input type="hidden" name="uid" value="{$info['id']}">
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-1"> 现有积分 </label>
                                    <div class="col-sm-9">
                                        <input type="text" readonly class="rcol-xs-10 col-sm-5" value="{$info.score}">
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="id-date-picker-1"> 充减数量 </label>
                                    <div class="col-xs-9 col-sm-9">
                                        <input type="text" id="score" name="score" class="col-xs-10 col-sm-5">
                                        <span class="help-inline red"> <span class="middle"><i class="fa fa-info-circle bigger-100"></i> 负数代表减</span> </span>
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="form-group">
                                    <label class="col-sm-1 control-label no-padding-right" for="form-field-6"> 原因 </label>
                                    <div class="col-sm-9">
                                        <textarea name="memo" id="memo" placeholder="备注" class="col-xs-10 col-sm-5" rows="5"></textarea>
                                        </span>
                                    </div>
                                </div>
                                <div class="space-4"></div>
                                <div class="col-md-offset-2 col-md-9">
                                    <button class="btn btn-info" type="submit">
                                        <i class="icon-ok bigger-110"></i> 提交
                                    </button>
                                    &nbsp; &nbsp; &nbsp;

                                    <a class="btn" href="{:U('index')}"> <i class="icon-undo bigger-110"></i> 返回 </a>
                                    <!-- <button class="btn" type="reset"> <i class="icon-undo bigger-110"></i> 重置 </button> -->
                                </div>
                            </form>
                            <!-- PAGE CONTENT ENDS -->
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.page-content -->
            </div>
        </div>
        <!-- /.main-content -->
        <include file="Public/footer" />
    </div>
    <!-- /.main-container -->
    <include file="Public/footerjs" />
    <!-- inline scripts related to this page -->
    <script src="__PUBLIC__/admin/js/date-time/bootstrap-datepicker.js"></script>
    <script src="__PUBLIC__/admin/js/fuelux/fuelux.spinner.js"></script>
    <script src="__PUBLIC__/admin/js/amall/user/score.js"></script>
</body>

</html>